package fr.labri.macchiato.framework.business.model.project;

/**
 * Factory class to build new {@link Project}s
 * 
 * @author Matthieu FOUCAULT
 *
 */
public class ProjectFactory {


	/**
	 * Creates a new project with the given budget
	 * @param name
	 * @param budget
	 * @return the new project
	 */
	public static Project newProject(String name, double budget) {
		return new Project(name, budget);
	}
	
	
	/**
	 * 
	 * @param name
	 * @return a new project with the given name
	 */
	public static Project newProject(String name) {
		return new Project(name);
	}
}
